package com.atguigu.common.exception;
/***
 * @Description: 异常定义枚举
 * @author zhuanning
 * @date 2022/3/16 7:59 下午
 * @return 枚举
 */
public enum BizCodeEnume {
    UNKNOW_EXCEPTION(10000,"参数格式校验失败"),
    VAILD_EXCEPTION(10001,"参数格式校验失败");

    private int code;
    private String msg;
    BizCodeEnume(int code,String msg){
        this.code = code;
        this.msg = msg;
    }
    public int getCode(){
        return code;
    }

    public String getMsg(){
        return msg;
    }
}
